using AutoMapper;

namespace Joy.Erp.BasicArchives.Suppliers
{
    public class SupplierAutoMapperProfile : Profile
    {
        public SupplierAutoMapperProfile()
        {
            CreateMap<Supplier, SupplierDto>().MapExtraProperties().ReverseMap();
            CreateMap<Supplier, SupplierCreateDto>().MapExtraProperties().ReverseMap();
            CreateMap<Supplier, SupplierUpdateDto>().MapExtraProperties().ReverseMap();
        }
    }
} 